<template>
  <span>子组件</span>
</template>

<script>
export default {
  name: 'Children',
  emits: ['OnSayHello'],
  setup(props, { emit }) {
    emit('OnSayHello', 'vue3')
  }
}
</script>

